<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:c="http://java.sun.com/jsp/jstl/core">
    <h:head>
        <title>Online Compro Application</title>
    </h:head>
    <h:body>
        <ui:composition template="/templates/mainTemplate.xhtml">
            <ui:define name="content">
        <h:outputScript library="js" name="js.js"/>
                <h:form>
                    <p:growl id="growl" sticky="false" showDetail="true"/>  

                    <p:wizard  widgetVar="wiz"  
                              flowListener="#{wizardPageBean.onFlowProcess}"> 
                        <!--                        status-->
                        <p:tab id="status" title="Status" >
                            <p:panel header="Status">
                                <h:messages errorClass="error"/>
                                <h:panelGrid columns="2" columnClasses="label, value" styleClass="grid">
                                    <h:outputText value="Personal Info:"/>
                                    <h:outputText value="#{wizardPageBean.personalStatus}"/>
                                    <h:outputText value="English Proficiency:"/>
                                    <h:outputText value="#{wizardPageBean.englishStatus}"/>
                                    <h:outputText value="Educational History:"/>
                                    <h:outputText value="#{wizardPageBean.educationStatus}"/>
                                    <h:outputText value="Programming Experience:"/>
                                    <h:outputText value="#{wizardPageBean.programmingStatus}"/>
                                    <h:outputText value="Professional Experience:"/>
                                    <h:outputText value="#{wizardPageBean.professionalStatus}"/>
                                    <h:outputText value="Self Study:"/>
                                    <h:outputText value="#{wizardPageBean.selfstudyStatus}"/>
                                </h:panelGrid>
                            </p:panel>

                        </p:tab> 
                        <!--                    personal -->
                        <p:tab id="personal" title="Personal Details">  
                            <h:panelGrid columns="2" columnClasses="label, value" styleClass="grid">

                                <h:selectBooleanCheckbox value="#{wizardPageBean.personalpreApplied}" />  
                                <h:outputText value="I have applied previously to the MUM Compro program" /> 

                            </h:panelGrid>
                            <p:panel header="Information as Displayed in your Passport">  

                                <h:messages errorClass="error"/>  

                                <h:panelGrid columns="2" columnClasses="label, value" styleClass="grid">  
                                    <h:outputText value="(Given) First Name(s):" />  
                                    <p:inputText required="true" label="FirstName"  
                                                 value="#{wizardPageBean.personalfirstName}" />  

                                    <h:outputText value="Middle Name(s)" />  
                                    <p:inputText required="false" label="MiddleName"  
                                                 value="#{wizardPageBean.personalmiddleName}" />  

                                    <h:outputText value="(Family) Legal Surname(s)" />  
                                    <p:inputText required="false" label="LastName"  
                                                 value="#{wizardPageBean.personallastName}" />



                                    <h:outputText value="Sex" />  
                                    <p:selectOneMenu disabled="false" value="#{wizardPageBean.personalsex}">  
                                        <f:selectItem itemLabel="Male" itemValue="Male" />  
                                        <f:selectItem itemLabel="Female" itemValue="Female" />  

                                    </p:selectOneMenu>

                                    <h:outputText value="Marital Status" />  
                                    <p:selectOneMenu value="#{wizardPageBean.personalmaritalStatus}">  
                                        <f:selectItem itemLabel="Single" itemValue="0" />  
                                        <f:selectItem itemLabel="Married" itemValue="1" />  

                                    </p:selectOneMenu>




                                    <h:outputText value="Country of Citizenship" />  
                                    <p:selectOneMenu value="#{wizardPageBean.personalcountryOfCitizenship}">  
                                        <f:selectItem itemLabel="Select a Country" itemValue=""/>
                                        <f:selectItems value="#{wizardPageBean.countries}"/>

                                    </p:selectOneMenu>

                                    <h:outputText value="Country of Birth" />  
                                    <p:selectOneMenu value="#{wizardPageBean.personalcountryOfBirth}">
                                        <f:selectItem itemLabel="Select a Country" itemValue=""/>
                                        <f:selectItems value="#{wizardPageBean.countries}"/>

                                    </p:selectOneMenu>

                                    <h:outputText value="Date of Birth" />  
                                    <h:panelGroup>
                                        <p:selectOneMenu value="#{wizardPageBean.personalmonth}">  
                                            <f:selectItem itemLabel="1" itemValue="1" />  
                                            <f:selectItem itemLabel="2" itemValue="2" />
                                            <f:selectItem itemLabel="3" itemValue="3" />  
                                            <f:selectItem itemLabel="4" itemValue="4" />  
                                            <f:selectItem itemLabel="5" itemValue="5" />  
                                            <f:selectItem itemLabel="6" itemValue="6" />  
                                            <f:selectItem itemLabel="7" itemValue="7" />  
                                            <f:selectItem itemLabel="8" itemValue="8" />  
                                            <f:selectItem itemLabel="9" itemValue="9" />  
                                            <f:selectItem itemLabel="10" itemValue="10" />  
                                            <f:selectItem itemLabel="11" itemValue="11" />  
                                            <f:selectItem itemLabel="12" itemValue="12" />    

                                        </p:selectOneMenu>
                                        <p:selectOneMenu value="#{wizardPageBean.personalday}">  
                                            <f:selectItem itemLabel="1" itemValue="1" />  
                                            <f:selectItem itemLabel="2" itemValue="2" />  

                                        </p:selectOneMenu>
                                        <p:selectOneMenu value="#{wizardPageBean.personalyear}">  
                                            <f:selectItem itemLabel="1980" itemValue="1980" />  
                                            <f:selectItem itemLabel="1981" itemValue="1981" />  

                                        </p:selectOneMenu>
                                    </h:panelGroup>
                                </h:panelGrid>
                            </p:panel> 
                            <p:panel header="Contact Information">  

                                <h:messages errorClass="error"/>  

                                <h:panelGrid columns="2" columnClasses="label, value" styleClass="grid">  
                                    <h:outputText value="Email Address" />  
                                    <p:inputText required="false" label="Email"  
                                                 value="#{wizardPageBean.personalemailAddress}" />  

                                    <h:outputText value="Confirm Email Address" />  
                                    <p:inputText required="false" label="ConfirmEmail"  
                                                 value="#{wizardPageBean.personalemailAddress}" /> 

                                    <h:outputText value="Skype ID: (Optional)" />  
                                    <p:inputText  label="skype"  
                                                  value="#{wizardPageBean.personalskypeID}" />

                                    <h:outputText value="Phone Number (please enter only one number)" />  
                                    <p:inputText  label="phone"  
                                                  value="#{wizardPageBean.personalphone}" />

                                    <h:outputText value="City you live in now" />  
                                    <p:inputText  label="city"  
                                                  value="#{wizardPageBean.personalcity}" />

                                    <h:outputText value="Country you live in now" />  
                                    <p:selectOneMenu value="#{wizardPageBean.personalcurrentCountry}">
                                        <f:selectItem itemLabel="Select a Country" itemValue=""/>
                                        <f:selectItems value="#{wizardPageBean.countries}"/>

                                    </p:selectOneMenu>

                                </h:panelGrid>
                            </p:panel>

                            <p:panel header="MS Program">  

                                <h:messages errorClass="error"/>  

                                <h:panelGrid columns="2" columnClasses="label, value" styleClass="grid"> 


                                    <p:selectOneRadio id="programs" value="#{wizardPageBean.personalmsProgram}">  
                                        <f:selectItem itemLabel="Regular Program (take courses on Campus and Distance Education in the US)" itemValue="1" />  

                                    </p:selectOneRadio> 
                                    <h:panelGroup/><h:panelGroup/><h:panelGroup/>
                                    <h:outputText value="Date of entry are you applying for?" /> 
                                    <h:panelGroup/><h:panelGroup/><h:panelGroup/>   
                                    <p:selectOneMenu value="#{wizardPageBean.personaldateOfmsProgram}">  
                                        <f:selectItem itemLabel="Jan" itemValue="0" />  
                                        <f:selectItem itemLabel="Feb" itemValue="1" />  

                                    </p:selectOneMenu>
                                    <h:panelGroup/><h:panelGroup/><h:panelGroup/>
                                    <p:selectOneRadio id="fullPrograms" value="#{wizardPageBean.personalmsProgram}">  
                                        <f:selectItem itemLabel="Full DE Program (all courses taken via Distance Education, no F1 Visa, no entry to the US)" itemValue="1" />  

                                    </p:selectOneRadio> 
                                    <br/>

                                </h:panelGrid>
                            </p:panel>
                            <p:panel header="How Did You Learn About the Program?">  

                                <h:messages errorClass="error"/>  

                                <h:outputText value="MUM Agent" /> 
                                <br/> 
                                <br/> 
                                <div align="center">
                                    <h:outputText  value="
                                                   If you learned about this program from one of our authorized agents, you will receive a tuition reduction of US$100,
                                                   which will reduce the Computer Professionals Loan when you start your practical training work. 
                                                   To receive the tuition reduction, contact the agent for the applicable code and enter it here:" 
                                                   style="font-style: oblique; text-align: center;" />
                                </div>
                                <br/>
                                <br/> 
                                <div align="center">
                                    <h:outputText value="Agent Code:" style="text-align: center;" />  
                                    <p:inputText  label="agentCode"    
                                                  value="#{wizardPageBean.personalagentCode}" />
                                </div>
                                <br/>
                                <br/> 
                                <div align="center">
                                    <h:outputText value="Agents are not official representatives of Maharishi University of Management. The University does not make recommendations concerning agents and the value of services they may render. Applicants must decide for themselves if they wish to use and pay for the services of an agent." 
                                                  style="text-align: center; font-size: 10px;" /> 
                                </div>
                                <br/>
                                <br/> 
                                <h:panelGrid columns="2" columnClasses="label, value" > 
                                    <h:outputText value="Source:" />  
                                    <p:selectOneMenu value="#{wizardPageBean.personalsource}">  
                                        <f:selectItem itemLabel="MUM student" itemValue="0" />  
                                        <f:selectItem itemLabel="MUM alumni" itemValue="1" />  

                                    </p:selectOneMenu>


                                </h:panelGrid>
                            </p:panel>


                            <p:commandButton value="Save" update="growl" disabled="#{wizardPageBean.disabled}"
                                             actionListener="#{wizardPageBean.savePersonalSection(actionEvent)}"/>
                        </p:tab>

                        <!--                       english-->
                        <p:tab id="english" title="English Proficiency" >  

                            <p:panel header="English Fluency">  

                                <h:messages id="msgs" errorClass="error"/>  

                                <h:panelGrid columns="2" columnClasses="label, value" styleClass="grid">  
                                    <h:outputText value="How well can you read and write English?" />  
                                    <p:selectOneMenu value="#{wizardPageBean.englishReadWrite}">  
                                        <f:selectItem itemLabel="Select One" itemValue="-1" />  
                                        <f:selectItem itemLabel="Barely able to read/write" itemValue="0" />  
                                        <f:selectItem itemLabel="Able to read/write basic sentences" itemValue="1" />  
                                        <f:selectItem itemLabel="Okay, but with some mistakes" itemValue="2" />  
                                        <f:selectItem itemLabel="Like a native speaker" itemValue="3" />  
                                    </p:selectOneMenu>  

                                    <h:outputText value="How well do you speak English?" />  
                                    <p:selectOneMenu value="#{wizardPageBean.englishSpeak}">  
                                        <f:selectItem itemLabel="Select One" itemValue="-1" />  
                                        <f:selectItem itemLabel="Barely able to speak" itemValue="0" />  
                                        <f:selectItem itemLabel="Able to speak basic sentences" itemValue="1" />  
                                        <f:selectItem itemLabel="Okay, but with some mistakes" itemValue="2" />  
                                        <f:selectItem itemLabel="Like a native speaker" itemValue="3" />  
                                    </p:selectOneMenu>  

                                    <h:outputText value="How well do you understand spoken English?" />   
                                    <p:selectOneMenu value="#{wizardPageBean.englishUnderstand}">  
                                        <f:selectItem itemLabel="Select One" itemValue="-1" />  
                                        <f:selectItem itemLabel="Barely able to understand" itemValue="0" />  
                                        <f:selectItem itemLabel="Able to understand basic sentences" itemValue="1" />  
                                        <f:selectItem itemLabel="Okay, but with some mistakes" itemValue="2" />  
                                        <f:selectItem itemLabel="Like a native speaker" itemValue="3" />  
                                    </p:selectOneMenu>  
                                </h:panelGrid>    
                            </p:panel>  

                            <p:panel header="Tests Taken (not required)">
                                <h:messages errorClass="error"/>  

                                <h:panelGrid columns="4" columnClasses="label, value" styleClass="grid">
                                    <h:outputText value="TOEFL"/>
                                    <h:panelGroup/><h:panelGroup/><h:panelGroup/>
                                    <h:outputText value="Year Taken"/>  
                                    <p:selectOneMenu value="#{wizardPageBean.englishToeflYear}">  
                                        <f:selectItem itemLabel="2010" itemValue="2010" />  
                                        <f:selectItem itemLabel="2011" itemValue="2011" />  
                                        <f:selectItem itemLabel="2012" itemValue="2012" />
                                    </p:selectOneMenu>  
                                    <h:outputText value="Score:"/>
                                    <p:inputText value="#{wizardPageBean.englishToeflScore}"/>
                                    <br/><h:panelGroup/><h:panelGroup/><h:panelGroup/>
                                    <h:outputText value="GRE"/>
                                    <h:panelGroup/><h:panelGroup/><h:panelGroup/>
                                    <h:outputText value="Year Taken"/>  
                                    <p:selectOneMenu value="#{wizardPageBean.englishGreYear}">  
                                        <f:selectItem itemLabel="2010" itemValue="2010" />  
                                        <f:selectItem itemLabel="2011" itemValue="2011" />  
                                        <f:selectItem itemLabel="2012" itemValue="2012" />
                                    </p:selectOneMenu><h:panelGroup/><h:panelGroup/>
                                    <h:outputText value="Verbal Score:"/>
                                    <p:inputText value="#{wizardPageBean.englishGreVerbalScore}"/>
                                    <h:outputText value="Percentile"/>
                                    <p:inputText value="#{wizardPageBean.englishGreVerbalPercentile}"/>
                                    <h:outputText value="Quantitative Score:"/>
                                    <p:inputText value="#{wizardPageBean.englishGreQuantitativeScore}"/>
                                    <h:outputText value="Percentile"/>
                                    <p:inputText value="#{wizardPageBean.englishGreQuantitativePercentile}"/>
                                    <h:outputText value="Analytical Score:"/>
                                    <p:inputText value="#{wizardPageBean.englishGreAnalyticalScore}"/>
                                    <h:outputText value="Percentile"/>
                                    <p:inputText value="#{wizardPageBean.englishGreAnalyticalPercentile}"/>
                                </h:panelGrid>

                            </p:panel>
                            <p:commandButton value="Save" update="growl"    disabled="#{wizardPageBean.disabled}"
                                             actionListener="#{wizardPageBean.saveEnglishSection(actionEvent)}"/>

                        </p:tab>  

                        <!--                      education -->
                        <p:tab id="education" title="Educational History">  

                            <p:panel header="Highest Degree Applicable">  

                                <h:messages errorClass="error"/>  

                                <h:panelGrid columns="3" columnClasses="label, value" styleClass="grid">  
                                    <h:outputText value="Years" />  
                                    <h:outputText value="Field" />  
                                    <h:outputText value="Degree" />
                                    <p:selectOneMenu value="#{wizardPageBean.educationDegreeYears}">  
                                        <f:selectItem itemLabel="1 Year" itemValue="1" />  
                                        <f:selectItem itemLabel="2 Years" itemValue="2" />  
                                        <f:selectItem itemLabel="3 Years" itemValue="3" />
                                        <f:selectItem itemLabel="4 Years" itemValue="4" />  
                                        <f:selectItem itemLabel="5 Years" itemValue="5" />  
                                    </p:selectOneMenu>
                                    <p:selectOneMenu value="#{wizardPageBean.educationDegreeField}">  
                                        <f:selectItem itemLabel="Please Select" itemValue="" />   
                                        <f:selectItem itemLabel="Computer Science" itemValue="CS" />  
                                        <f:selectItem itemLabel="Electronics Engineering" itemValue="EE" />  
                                        <f:selectItem itemLabel="Information Technology" itemValue="IT" />
                                    </p:selectOneMenu>
                                    <p:selectOneMenu value="#{wizardPageBean.educationDegreeDegree}">  
                                        <f:selectItem itemLabel="Please Select" itemValue="" />
                                        <f:selectItem itemLabel="Undergraduate/Bachelors" itemValue="BS"/>
                                        <f:selectItem itemLabel="Graduate/Masters" itemValue="MS"/>
                                        <f:selectItem itemLabel="Diploma" itemValue="Diploma"/>
                                        <f:selectItem itemLabel="PhD" itemValue="PhD"/>
                                    </p:selectOneMenu>
                                </h:panelGrid>
                            </p:panel>
                            <p:panel header="Grade Point Average for Degree Indicated Above">
                                <h:outputText style="font: italic 80%" value="GPA information should be entered exactly as it appears on your transcripts, using the grading scale from your university. Please do not attempt to convert your grading scale to any other scale. If you incorrectly convert your GPA, it may result in the deferral of your application. For some countries, which use Division or Class (such as India or Pakistan), you should enter the final overall percentage from your courses. If you do not have your transcripts, please estimate your GPA as accurately as possible."/>
                                <h:panelGrid columns="2">
                                    <h:outputText value="Country Degree was Granted:"/>
                                    <p:selectOneMenu value="#{wizardPageBean.educationGPACountry}">
                                        <f:selectItem itemLabel="Select a Country" itemValue=""/>
                                        <f:selectItems value="#{wizardPageBean.countries}"/>
                                    </p:selectOneMenu>
                                    <h:outputText value="Grading Scale Used:"/>
                                    <p:selectOneMenu value="#{wizardPageBean.educationGPAScale}">
                                        <f:selectItem itemLabel="Select a Grading Scale" itemValue=""/>
                                        <f:selectItem itemValue="F-A" itemLabel="F to A (A is best)" />
                                        <f:selectItem itemValue="0-4" itemLabel="0 to 4 (4 is best)" />
                                        <f:selectItem itemValue="0-5" itemLabel="0 to 5 (5 is best)" />
                                        <f:selectItem itemValue="5-1" itemLabel="5 to 1 (1 is best)" />
                                        <f:selectItem itemValue="0-10" itemLabel="0 to 10 (10 is best)" />
                                        <f:selectItem itemValue="0-20" itemLabel="0 to 20 (20 is best)" />
                                        <f:selectItem itemValue="0-100" itemLabel="0 to 100 (percentage)" />
                                    </p:selectOneMenu>
                                    <h:outputText value="GPA for selected Degree:"/>
                                    <p:inputText value="#{wizardPageBean.educationGPA}"/>
                                </h:panelGrid>
                            </p:panel>
                            <p:panel header="Colleges, Universities and other Post-Secondary Institutes Attended">
                                <h:outputText value="Please provide us with the details of each Post-Secondary institute you have attended by filling out the following fields:"/>
                                <p:dataTable value="#{wizardPageBean.institutes}" var="institute" id="instituteTable">
                                    <p:column>
                                        <f:facet name="header" >
                                            <h:outputLabel  value="Institute"/>
                                        </f:facet>
                                        <h:panelGroup>
                                            <h:panelGrid columns="2">
                                                <h:outputText value="Institute Name"/>
                                                <p:inputText value="#{institute.name}"/>
                                                <h:outputText value="Location"/>
                                                <p:inputText value="#{institute.location}"/>
                                                <h:outputText value="Dates-from/to"/>
                                                <p:inputText value="#{institute.dateFromTo}"/>
                                                <h:outputText value="Degree Granted"/>
                                                <p:inputText value="#{institute.degree}"/>
                                                <h:outputText value="Subject Area"/>
                                                <p:inputText value="#{institute.subjectArea}"/>
                                                <h:outputText value="GPA"/>
                                                <p:inputText value="#{institute.gpa}"/>
                                            </h:panelGrid>
                                        </h:panelGroup>
                                    </p:column>
                                    <f:facet name="footer" >
                                        <p:commandLink value="Click to add one more institute" actionListener="#{wizardPageBean.enlargeList}" update="instituteTable"/>&nbsp;&nbsp;&nbsp;
                                        <p:commandLink value="Click to remove institute" actionListener="#{wizardPageBean.reduceList}" update="instituteTable"/>
                                        <!--                                <p:messages />-->
                                    </f:facet>
                                </p:dataTable>
                            </p:panel>

                            <p:panel header="Total Years / Months of Post Secondary Education">
                                <h:outputText value="Indicate the total number of years and months of post-senior-secondary full-time education (after your 12th grade/class). Include education at accredited institutions only -- universities, colleges, institutes. Include undergraduate and graduate level work. "/>
                                <br/>
                                <h:outputText value="Years:"/>&nbsp;&nbsp;
                                <p:selectOneMenu value="#{wizardPageBean.educationTotalYears}">
                                    <f:selectItem itemLabel="0" itemValue="0" />  
                                    <f:selectItem itemLabel="1" itemValue="1" />  
                                    <f:selectItem itemLabel="2" itemValue="2" />  
                                    <f:selectItem itemLabel="3" itemValue="3" />
                                    <f:selectItem itemLabel="4" itemValue="4" />  
                                    <f:selectItem itemLabel="5+" itemValue="5" />  
                                </p:selectOneMenu>
                                <h:outputLabel value="Months:"/>&nbsp;&nbsp;
                                <p:selectOneMenu value="#{wizardPageBean.educationTotalMonths}">
                                    <f:selectItem itemLabel="0" itemValue="0" />  
                                    <f:selectItem itemLabel="1" itemValue="1" />  
                                    <f:selectItem itemLabel="2" itemValue="2" />  
                                    <f:selectItem itemLabel="3" itemValue="3" />
                                    <f:selectItem itemLabel="4" itemValue="4" />  
                                    <f:selectItem itemLabel="5" itemValue="5" />  
                                    <f:selectItem itemLabel="6" itemValue="6" />  
                                    <f:selectItem itemLabel="7" itemValue="7" />  
                                    <f:selectItem itemLabel="8" itemValue="8" />
                                    <f:selectItem itemLabel="9" itemValue="9" />  
                                    <f:selectItem itemLabel="10" itemValue="10" />  
                                    <f:selectItem itemLabel="11" itemValue="11" />  
                                </p:selectOneMenu>
                            </p:panel>
                            <p:commandButton value="Save" update="growl"    disabled="#{wizardPageBean.disabled}"
                                             actionListener="#{wizardPageBean.saveEducationSection(actionEvent)}"/>

                        </p:tab>  

                        <!--                        programming-->
                        <p:tab id="programming" title="Programming Experience">  

                            <p:panel header="Programming Experience">  
                                <h:messages errorClass="error"/>  

                                <h:outputText value="Overall Programming Skill" style="font-size: 16px;font-family: Arial; font-weight: bold"/>
                                <br/>
                                <h:outputText value="
                                              Please indicate your expertise in programming languages* in the area below using the following skill levels**" 
                                              style="font-style: oblique;"/>
                                <br/>
                                <p align="center">
                                    <h:outputText value="Skill Levels" style="font-size: 16px;font-family: Arial; font-weight: bold"/>
                                </p>



                                <h:panelGrid columns="2" columnClasses="label, value" styleClass="grid">  
                                    <h:outputText value="Introductory"  style="font-style: oblique;margin-left: 30px"/>  
                                    <h:outputText value="Some exposure to general purpose languages, know basic syntax and keywords, can easily read code." 
                                                  style="font-style: oblique;margin-left: 35px"/>

                                    <br/>
                                    <br/>
                                    <h:panelGroup/>
                                    <h:outputText value="Basic"  style="font-style: oblique;margin-left: 30px"/>  
                                    <h:outputText value="Can do basic development using general purpose languages, usually achieved after either 2 or more academic courses, or 6+ months of professional experience." 
                                                  style="font-style: oblique;margin-left: 35px"/>  
                                    <br/>
                                    <br/>
                                    <h:panelGroup/>
                                    <h:outputText value="Intermediate"  style="font-style: oblique;margin-left: 30px"/>  
                                    <h:outputText value="Significant experience using general purpose languages for both design and programming. Either 4 or more academic courses, or 1 or more years of professional experience." 
                                                  style="font-style: oblique;margin-left: 35px"/>  
                                    <br/>
                                    <br/>
                                    <h:panelGroup/>
                                    <h:outputText value="Advanced"  style="font-style:  oblique;margin-left: 30px"/>  
                                    <h:outputText value="Senior level development doing both design and programming. Experience in 6 or more programming courses or 2 or more years of professional experience." 
                                                  style="font-style: oblique;margin-left: 35px"/>  
                                    <br/>
                                    <br/>
                                    <h:panelGroup/>
                                    <h:outputText value="Expert"  style="font-style: oblique;margin-left: 30px"/>  
                                    <h:outputText value="Extensive Professional Experience doing senior level development, both design and programming. Used a general purpose language during 5 or more years of professional experience." 
                                                  style="font-style: oblique;margin-left: 35px;"/>  


                                </h:panelGrid>  

                                <br/>
                                <h:outputText value="
                                              *General Purpose (preferably Object Oriented) Languages"

                                              style="font-size: 10px;font-family: Arial;"/>
                                <br/>
                                <h:outputText value="
                                              **Upon entry to the program you will be tested for the indicated level of skill"

                                              style="font-size: 10px;font-family: Arial;"/>

                                <br/>
                                <br/>
                                <br/>
                                <h:outputText value="Please evaluate your skill level for each language below, based on the skill category shown above."
                                              style="font-style: oblique;"/>  

                                <br/>
                                <h:panelGrid columns="2" columnClasses="label, value" styleClass="grid" border="2">
                                    <h:outputText value="Java"/>

                                    <p:selectOneMenu value="#{wizardPageBean.programmingjavaLangSkill}">  
                                        <f:selectItem itemValue="-1" itemLabel="Please select" />  
                                        <f:selectItem itemValue="0" itemLabel="No Knowledge" />  
                                        <f:selectItem itemValue="1" itemLabel="Introductory" />
                                        <f:selectItem itemValue="2" itemLabel="Basic" />  
                                        <f:selectItem itemValue="3" itemLabel="Intermediate" />  
                                        <f:selectItem itemValue="4" itemLabel="Advanced" />  
                                        <f:selectItem itemValue="5" itemLabel="Expert" />  
                                    </p:selectOneMenu>

                                    <h:outputText value="C++"/>

                                    <p:selectOneMenu value="#{wizardPageBean.programmingcplusLangSkill}">  
                                        <f:selectItem itemValue="-1" itemLabel="Please select" />  
                                        <f:selectItem itemValue="0" itemLabel="No Knowledge" />  
                                        <f:selectItem itemValue="1" itemLabel="Introductory" />
                                        <f:selectItem itemValue="2" itemLabel="Basic" />  
                                        <f:selectItem itemValue="3" itemLabel="Intermediate" />  
                                        <f:selectItem itemValue="4" itemLabel="Advanced" />  
                                        <f:selectItem itemValue="5" itemLabel="Expert" />  
                                    </p:selectOneMenu>


                                    <h:outputText value="C#"/>

                                    <p:selectOneMenu value="#{wizardPageBean.programmingcsharpLangSkill}">  
                                        <f:selectItem itemValue="-1" itemLabel="Please select" />  
                                        <f:selectItem itemValue="0" itemLabel="No Knowledge" />  
                                        <f:selectItem itemValue="1" itemLabel="Introductory" />
                                        <f:selectItem itemValue="2" itemLabel="Basic" />  
                                        <f:selectItem itemValue="3" itemLabel="Intermediate" />  
                                        <f:selectItem itemValue="4" itemLabel="Advanced" />  
                                        <f:selectItem itemValue="5" itemLabel="Expert" />  
                                    </p:selectOneMenu>


                                    <h:outputText value="C"/>

                                    <p:selectOneMenu value="#{wizardPageBean.programmingcLangSkill}">  
                                        <f:selectItem itemValue="-1" itemLabel="Please select" />  
                                        <f:selectItem itemValue="0" itemLabel="No Knowledge" />  
                                        <f:selectItem itemValue="1" itemLabel="Introductory" />
                                        <f:selectItem itemValue="2" itemLabel="Basic" />  
                                        <f:selectItem itemValue="3" itemLabel="Intermediate" />  
                                        <f:selectItem itemValue="4" itemLabel="Advanced" />  
                                        <f:selectItem itemValue="5" itemLabel="Expert" />  
                                    </p:selectOneMenu>

                                    <h:outputText value="Pascal"/>

                                    <p:selectOneMenu value="#{wizardPageBean.programmingpascalLangSkill}">  
                                        <f:selectItem itemValue="-1" itemLabel="Please select" />  
                                        <f:selectItem itemValue="0" itemLabel="No Knowledge" />  
                                        <f:selectItem itemValue="1" itemLabel="Introductory" />
                                        <f:selectItem itemValue="2" itemLabel="Basic" />  
                                        <f:selectItem itemValue="3" itemLabel="Intermediate" />  
                                        <f:selectItem itemValue="4" itemLabel="Advanced" />  
                                        <f:selectItem itemValue="5" itemLabel="Expert" />  
                                    </p:selectOneMenu>


                                    <h:outputText value="Visual Basic"/>

                                    <p:selectOneMenu value="#{wizardPageBean.programmingvbLangSkill}">  
                                        <f:selectItem itemValue="-1" itemLabel="Please select" />  
                                        <f:selectItem itemValue="0" itemLabel="No Knowledge" />  
                                        <f:selectItem itemValue="1" itemLabel="Introductory" />
                                        <f:selectItem itemValue="2" itemLabel="Basic" />  
                                        <f:selectItem itemValue="3" itemLabel="Intermediate" />  
                                        <f:selectItem itemValue="4" itemLabel="Advanced" />  
                                        <f:selectItem itemValue="5" itemLabel="Expert" />  
                                    </p:selectOneMenu>


                                    <h:outputText value="Overall Programming Skill"/>

                                    <p:selectOneMenu value="#{wizardPageBean.programmingoverallLangSkill}">  
                                        <f:selectItem itemValue="-1" itemLabel="Please select" />  
                                        <f:selectItem itemValue="0" itemLabel="No Knowledge" />  
                                        <f:selectItem itemValue="1" itemLabel="Introductory" />
                                        <f:selectItem itemValue="2" itemLabel="Basic" />  
                                        <f:selectItem itemValue="3" itemLabel="Intermediate" />  
                                        <f:selectItem itemValue="4" itemLabel="Advanced" />  
                                        <f:selectItem itemValue="5" itemLabel="Expert" />  
                                    </p:selectOneMenu>



                                    <h:outputText value="The Programming Language I feel most proficient in is:"/>


                                    <p:inputText required="false" label="proficientLang"  
                                                 value="#{wizardPageBean.programmingproficientLang}" /> 




                                </h:panelGrid>

                            </p:panel>  


                            <p:panel header="Prerequisites">  
                                <h:messages errorClass="error"/> 

                                <h:outputText value="In order to qualify for admission all applicants must have the folowing three prerequisites:"/>
                                <br/>
                                <br/>
                                <h:outputText value="1. University Level Programming Course" style="font-size: 14px;font-weight: bold;"/>

                                <br/>
                                <br/>
                                <h:outputText value="Please include only courses that had a Strong Programming Component. 
                                              You are allowed to sum up two courses with a medium 
                                              programming component to count as a single course." 
                                              style="font-style: oblique"/>

                                <p:dataTable value="#{wizardPageBean.programmingprogCourses}" var="courses" id="progCoursesTable">
                                    <p:column>
                                        <f:facet name="header" >
                                            <h:outputLabel  value="Courses"/>
                                        </f:facet>
                                        <h:panelGroup>
                                            <h:panelGrid columns="3">
                                                <h:outputText value="Language"/>
                                                <h:outputText value="Course Title/Description"/>
                                                <h:outputText value="Calendar Year(s)"/>


                                                <p:selectOneMenu value="#{courses.courseLang}">  
                                                    <f:selectItem itemValue="-1" itemLabel="none" />  
                                                    <f:selectItem itemValue="0" itemLabel="Java" />  
                                                    <f:selectItem itemValue="1" itemLabel="C++" />
                                                    <f:selectItem itemValue="2" itemLabel="C only" />  
                                                    <f:selectItem itemValue="3" itemLabel="C#" />  
                                                    <f:selectItem itemValue="4" itemLabel="Other" />  

                                                </p:selectOneMenu>

                                                <p:inputText required="false" label="courseTitle"  
                                                             value="#{courses.courseTitle}" /> 

                                                <p:inputText required="false" label="courseCalendar"  
                                                             value="#{courses.courseCalendar}" /> 

                                            </h:panelGrid>
                                        </h:panelGroup>
                                        <br/>

                                        <br/>
                                        <h:outputText value="Short Description of Projects" style="font-size: 14px;font-weight: bold;"/>
                                        <br/>
                                        <h:inputTextarea value="#{courses.courseShortDescription}"/>
                                    </p:column>
                                    <f:facet name="footer" >
                                        <p:commandLink value="Click to add course: " actionListener="#{wizardPageBean.enlargeCourseList()}" update="progCoursesTable"/>&nbsp;&nbsp;&nbsp;
                                        <p:commandLink value="Click to remove course" actionListener="#{wizardPageBean.reduceCourseList()}" update="progCoursesTable"/>
                                        <p:messages />
                                    </f:facet>
                                </p:dataTable>

                                <h:outputText value="2. University Level Data Structures Course
                                              " style="font-size: 14px;font-weight: bold;"/>

                                <br/>

                                <br/>
                                <h:outputText value="I have Programming Experience with:
                                              " />
                                <br/>
                                <h:panelGrid columns="3">
                                    <h:outputText value="Stacks" style="font-size: 14px;font-weight: bold;margin-right: 80px"/>

                                    <h:outputText value="Queues" style="font-size: 14px;font-weight: bold;margin-right: 60px"/>

                                    <h:outputText value="Linked Lists" style="font-size: 14px;font-weight: bold;margin-right: 10px"/>

                                </h:panelGrid>
                                <h:panelGrid columns="6">

                                    <p:selectBooleanCheckbox value="#{wizardPageBean.programmingdataStacksNotStudied}" />
                                    <h:outputText value="Not Studied " />  


                                    <p:selectBooleanCheckbox value="#{wizardPageBean.programmingdataQueuesNotStudied}" /> 
                                    <h:outputText value="Not Studied " />  

                                    <p:selectBooleanCheckbox value="#{wizardPageBean.programmingdataLinkedListNotStudied}" /> 
                                    <h:outputText value="Not Studied " />  


                                    <p:selectBooleanCheckbox value="#{wizardPageBean.programmingdataStacksSelfStudy}"/>  
                                    <h:outputText value="Self Study " />  

                                    <p:selectBooleanCheckbox value="#{wizardPageBean.programmingdataQueuesSelfStudy}"/>  
                                    <h:outputText value="Self Study " />  

                                    <p:selectBooleanCheckbox value="#{wizardPageBean.programmingdataLinkedListSelfStudy}"/>  
                                    <h:outputText value="Self Study " />  


                                    <p:selectBooleanCheckbox value="#{wizardPageBean.programmingdataStacksWorkExperience}"/>
                                    <h:outputText value="Work Experience " />  


                                    <p:selectBooleanCheckbox value="#{wizardPageBean.programmingdataQueuesWorkExperience}"/>
                                    <h:outputText value="Work Experience " />  

                                    <p:selectBooleanCheckbox value="#{wizardPageBean.programmingdataLinkedListWorkExperience}"/>
                                    <h:outputText value="Work Experience " />  



                                    <p:selectBooleanCheckbox value="#{wizardPageBean.programmingdataStacksAcademicCourse}"/>
                                    <h:outputText value="Academic Course " />  
                                    <p:selectBooleanCheckbox value="#{wizardPageBean.programmingdataQueuesAcademicCourse}"/>
                                    <h:outputText value="Academic Course " />  
                                    <p:selectBooleanCheckbox value="#{wizardPageBean.programmingdataLinkedListAcademicCourse}"/>
                                    <h:outputText value="Academic Course " />  
                                </h:panelGrid>


                                <h:outputText value="3. University Level Mathematics Course

                                              " style="font-size: 14px;font-weight: bold;"/>
                                <br/>
                                <br/>
                                <h:outputText value=" Courses Titles:

                                              " style="font-style: oblique"/>
                                <br/>
                                <h:panelGrid columns="8" title="Courses Titles">

                                    <p:selectBooleanCheckbox value="#{wizardPageBean.programmingmathCalculusI}" />
                                    <h:outputText value="Calculus I " /> 

                                    <p:selectBooleanCheckbox value="#{wizardPageBean.programmingmathCalculusII}" />
                                    <h:outputText value="Calculus II " /> 

                                    <p:selectBooleanCheckbox value="#{wizardPageBean.programminglinearAlgebra}" />
                                    <h:outputText value="Linear Algebra    " /> 

                                    <p:selectBooleanCheckbox value="#{wizardPageBean.programmingprobabilityStatistics}" />
                                    <h:outputText value="Probability/Statistics " /> 
                                </h:panelGrid>
                            </p:panel>
                            <p:commandButton value="Save" update="growl"    disabled="#{wizardPageBean.disabled}"
                                             actionListener="#{wizardPageBean.saveProgrammingSection(actionEvent)}"/>

                        </p:tab> 

                        <!--                        professional -->
                        <p:tab id="professional" title="Professional Experience">  
                            <p:panel header="Career">

                                <h:outputText value="Please provide us with the details of Professional Programming Experience.
                                              Professional Programming Experience is Paid, Fulltime (40 hours per week) work where the main activity is writing code."/>
                                <br/>
                                <h:outputText value="Language you have used most in your professional career"/>
                                <br/>
                                <p:selectOneMenu value="#{wizardPageBean.proLanguage}">  
                                    <f:selectItem itemLabel="Select One" itemValue="" />  
                                    <f:selectItem itemLabel="Java" itemValue="Java" />  
                                    <f:selectItem itemLabel="C++" itemValue="C++" />  
                                    <f:selectItem itemLabel="C only" itemValue="C" />  
                                    <f:selectItem itemLabel="C#" itemValue="C#" />  
                                </p:selectOneMenu>
                                <br/>
                                <h:outputText value="Please provide a brief summary of your programming career"/>
                                <br/>
                                <p:inputTextarea value="#{wizardPageBean.proSummary}"/>
                                <br/>
                                <h:outputText value="Duration of Career"/>
                                <br/>
                                <h:outputText value="Years:"/>&nbsp;&nbsp;
                                <p:selectOneMenu value="#{wizardPageBean.proCareerYear}">
                                    <f:selectItem itemLabel="0" itemValue="0" />  
                                    <f:selectItem itemLabel="1" itemValue="1" />  
                                    <f:selectItem itemLabel="2" itemValue="2" />  
                                    <f:selectItem itemLabel="3" itemValue="3" />
                                    <f:selectItem itemLabel="4" itemValue="4" />  
                                    <f:selectItem itemLabel="5+" itemValue="5" />  
                                </p:selectOneMenu>
                                <h:outputLabel value="Months:"/>&nbsp;&nbsp;
                                <p:selectOneMenu value="#{wizardPageBean.proCareerMonth}">
                                    <f:selectItem itemLabel="0" itemValue="0" />  
                                    <f:selectItem itemLabel="1" itemValue="1" />  
                                    <f:selectItem itemLabel="2" itemValue="2" />  
                                    <f:selectItem itemLabel="3" itemValue="3" />
                                    <f:selectItem itemLabel="4" itemValue="4" />  
                                    <f:selectItem itemLabel="5" itemValue="5" />  
                                    <f:selectItem itemLabel="6" itemValue="6" />  
                                    <f:selectItem itemLabel="7" itemValue="7" />  
                                    <f:selectItem itemLabel="8" itemValue="8" />
                                    <f:selectItem itemLabel="9" itemValue="9" />  
                                    <f:selectItem itemLabel="10" itemValue="10" />  
                                    <f:selectItem itemLabel="11" itemValue="11" />  
                                </p:selectOneMenu>
                            </p:panel>

                            <p:panel header="Individual Work Experiences">
                                <h:outputText value="Please provide details of individual work experiences"/>
                                <p:dataTable value="#{wizardPageBean.proExperiences}" var="exp" id="proExperienceTable">
                                    <p:column>
                                        <f:facet name="header" >
                                            <h:outputLabel  value="Experiences"/>
                                        </f:facet>
                                        <h:panelGroup>
                                            <h:panelGrid columns="4">
                                                <h:outputText value="Language"/>
                                                <h:outputText value="Employer Name and Contact Info"/>
                                                <h:outputText value="Duration"/>
                                                <h:outputText value="Calendar Year(s)"/>
                                                <p:inputText value="#{exp.experienceLanguage}"/>
                                                <p:inputText value="#{exp.employer}"/>
                                                <p:inputText value="#{exp.duration}"/>
                                                <p:inputText value="#{exp.calendar}"/>
                                            </h:panelGrid>
                                            <h:outputText value="Short Description of Projects"/>
                                            <p:inputTextarea value="#{exp.description}"/>
                                        </h:panelGroup>
                                    </p:column>
                                    <f:facet name="footer" >
                                        <p:commandLink value="Click to add one more experience" actionListener="#{wizardPageBean.enlargeProList}" update="proExperienceTable"/>&nbsp;&nbsp;&nbsp;
                                        <p:commandLink value="Click to remove experience" actionListener="#{wizardPageBean.reduceProList}" update="proExperienceTable"/>
                                        <!--                                <p:messages />-->
                                    </f:facet>
                                </p:dataTable>
                            </p:panel>
                            <p:commandButton value="Save" update="growl"  disabled="#{wizardPageBean.disabled}"  
                                             actionListener="#{wizardPageBean.saveProfessionalSection(actionEvent)}"/>
                        </p:tab>  

                        <!--                        selfstudy -->
                        <p:tab id="selfstudy" title="Self Study"> 
                            <p:panel header="Self Study"> 

                                <h:outputText value="Please provide us with details of all Self Study activities.
                                              For study through online resources please provide the URL, for books please provide the Title, and if possible the Author or Publisher.
                                              Also indicate for how many weeks, and approximately how many hours per week you studied, and during which calendar year(s) this was. "/>
                                <p:dataTable value="#{wizardPageBean.selfStudies}" var="study" id="selfStudyTable">
                                    <p:column>
                                        <f:facet name="header" >
                                            <h:outputLabel  value="Self Studies"/>
                                        </f:facet>
                                        <h:panelGroup>
                                            <h:panelGrid columns="5">
                                                <h:outputText value="Language"/>
                                                <h:outputText value="Resource(s)"/>
                                                <h:outputText value="Weeks"/>
                                                <h:outputText value="Hours/Week"/>
                                                <h:outputText value="Calendar Year(s)"/>
                                                <p:inputText value="#{study.selfStudyLanguage}"/>
                                                <p:inputText value="#{study.resource}"/>
                                                <p:inputText value="#{study.weeks}"/>
                                                <p:inputText value="#{study.hours}"/>
                                                <p:inputText value="#{study.calendar}"/>
                                            </h:panelGrid>
                                            <h:outputText value="Short Description of Projects"/>
                                            <p:inputTextarea value="#{study.description}"/>
                                        </h:panelGroup>
                                    </p:column>
                                    <f:facet name="footer" >
                                        <p:commandLink value="Click to add one more study" actionListener="#{wizardPageBean.enlargeSelfList}" update="selfStudyTable"/>&nbsp;&nbsp;&nbsp;
                                        <p:commandLink value="Click to remove study" actionListener="#{wizardPageBean.reduceSelfList}" update="selfStudyTable"/>
                                        <!--                                <p:messages />-->
                                    </f:facet>
                                </p:dataTable>
                            </p:panel>

                            <p:commandButton value="Save" update="growl"   disabled="#{wizardPageBean.disabled}" 
                                             actionListener="#{wizardPageBean.saveSelfStudySection(actionEvent)}"/>
                            <p:commandButton value="Submit" update="growl"  disabled="#{wizardPageBean.disabled}"   
                                             actionListener="#{wizardPageBean.submitApplication(actionEvent)}"/>
                        </p:tab>  

                    </p:wizard>
                </h:form>
            </ui:define>
        </ui:composition>

    </h:body>
</html>

